import request from '@/utils/request/request';

// 报价信息维护分页查询
export function selectMainPage(params: any) {
  return request.get('/api/procurement/infra/supplier-info/page', { params });
}

export function selectAccountPage(params: any) {
  return request.get('/api/procurement/infra/supplier-account/page', {
    params,
  });
}

// 联系人表格
export function selectContactsPage(params: any) {
  return request.get('/api/procurement/infra/supplier-contacts/page', {
    params,
  });
}

// 资质表格
export function selectAptitudePage(params: any) {
  return request.get('/api/procurement/infra/supplier-qualification/page', {
    params,
  });
}

//  货源供应商列表
export function selectSourceOfGoodsPage(params: any) {
  return request.get('/api/procurement/infra/source-supplier/page', { params });
}

//  货源供应商列表关联列表
export function getContractNo(params: any) {
  return request.get(
    '/api/procurement/contract/main/getContractNoBySupplierAndMdsItem',
    {
      params,
    }
  );
}
